package com.dgut.shopManage.service;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.domain.Specification;

import com.dgut.shopManage.entity.Apply;
import com.dgut.shopManage.entity.dto.ApplyDTO;



public interface IApplyService {
	public void saveOrUpdate(ApplyDTO dto);
	public void delete(Apply apply);
	public  Apply findOne(Long id);
	public List<ApplyDTO> findAll();
	public Page<ApplyDTO> findAll(Pageable pageable);
	public Page<ApplyDTO> findAll(Specification<Apply> spec, Pageable pageable);
	public Page<ApplyDTO>findByShop(Long shopId,Pageable pageable);
	public void audit(Long id);
	public void pass(Long id);
	public void passNo(Long id);
}
